import {Component, OnInit, Output, EventEmitter, Input, HostListener} from '@angular/core';

@Component({
    selector: 'app-footer',
    templateUrl: './footer.html',
    styleUrls: ['./footer.css']
})
export class FooterComponent implements OnInit {


    @Input()
    isLogin: boolean;

    @HostListener('window:click', ['$event'])
    onClick(event: any) {
        const classes = ['skin', 'skin-list', 'change-skin', 'skin-item', 'title-skin', 'img-skin', 'color-skin', 'name-skin'];
        for (let c of classes) {
            if (event.target.classList.contains(c)) {
                return false;
            }
        }

    }



    ngOnInit() {
    }




}
